﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="BatchStoreDataSet" targetNamespace="http://tempuri.org/BatchStoreDataSet.xsd" xmlns:mstns="http://tempuri.org/BatchStoreDataSet.xsd" xmlns="http://tempuri.org/BatchStoreDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="BatchStoreConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="BatchStoreConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ServerNodeLib.Properties.Settings.GlobalReference.Default.BatchStoreConnectionString" Provider="Microsoft.SqlServerCe.Client.3.5" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BatchTableAdapter" GeneratorDataComponentClassName="BatchTableAdapter" Name="Batch" UserDataComponentName="BatchTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="Batch" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Batch] WHERE (([BatchId] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Batch] ([BatchId], [BatchGroup], [Comments], [NodeId], [QueueAdd], [NodeBegin], [NodeEnd], [LogFilenameFormat], [Status]) VALUES (@p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Comments" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="QueueAdd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="NodeBegin" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="NodeEnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LogFilenameFormat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        Batch.*
FROM            Batch</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Batch] SET [BatchId] = @p1, [BatchGroup] = @p2, [Comments] = @p3, [NodeId] = @p4, [QueueAdd] = @p5, [NodeBegin] = @p6, [NodeEnd] = @p7, [LogFilenameFormat] = @p8, [Status] = @p9 WHERE (([BatchId] = @p10))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Comments" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="QueueAdd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="NodeBegin" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="NodeEnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LogFilenameFormat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p10" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BatchId" DataSetColumn="BatchId" />
              <Mapping SourceColumn="BatchGroup" DataSetColumn="BatchGroup" />
              <Mapping SourceColumn="Comments" DataSetColumn="Comments" />
              <Mapping SourceColumn="NodeId" DataSetColumn="NodeId" />
              <Mapping SourceColumn="QueueAdd" DataSetColumn="QueueAdd" />
              <Mapping SourceColumn="NodeBegin" DataSetColumn="NodeBegin" />
              <Mapping SourceColumn="NodeEnd" DataSetColumn="NodeEnd" />
              <Mapping SourceColumn="LogFilenameFormat" DataSetColumn="LogFilenameFormat" />
              <Mapping SourceColumn="Status" DataSetColumn="Status" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CountBatches" Modifier="Public" Name="CountBatches" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="CountBatches">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT COUNT(*) FROM Batch</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CountBatchesByStatus" Modifier="Public" Name="CountBatchesByStatus" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="CountBatchesByStatus">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        COUNT(BatchId) AS Expr1
FROM            Batch
WHERE        (Status = @Status)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="Status" ColumnName="Status" DataSourceName="Batch" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="Batch" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByBatchGroup" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByBatchGroup" GeneratorSourceName="FillByBatchGroup" GetMethodModifier="Public" GetMethodName="GetDataByBatchGroup" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByBatchGroup" UserSourceName="FillByBatchGroup">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT BatchGroup, BatchId, Comments, LogFilenameFormat, NodeBegin, NodeEnd, NodeId, QueueAdd, Status FROM Batch WHERE (BatchGroup = @BatchGroup)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchGroup" ColumnName="BatchGroup" DataSourceName="Batch" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchGroup" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="Batch" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByBatchId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByBatchId" GeneratorSourceName="FillByBatchId" GetMethodModifier="Public" GetMethodName="GetDataByBatchId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByBatchId" UserSourceName="FillByBatchId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT BatchGroup, BatchId, Comments, LogFilenameFormat, NodeBegin, NodeEnd, NodeId, QueueAdd, Status FROM Batch WHERE (BatchId = @BatchId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchId" ColumnName="BatchId" DataSourceName="Batch" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="Batch" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByNodeId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByNodeId" GeneratorSourceName="FillByNodeId" GetMethodModifier="Public" GetMethodName="GetDataByNodeId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByNodeId" UserSourceName="FillByNodeId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT BatchGroup, BatchId, Comments, LogFilenameFormat, NodeBegin, NodeEnd, NodeId, QueueAdd, Status FROM Batch WHERE (NodeId = @NodeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="NodeId" ColumnName="NodeId" DataSourceName="Batch" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@NodeId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="Batch" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByStatus" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByStatus" GeneratorSourceName="FillByStatus" GetMethodModifier="Public" GetMethodName="GetDataByStatus" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByStatus" UserSourceName="FillByStatus">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT BatchGroup, BatchId, Comments, LogFilenameFormat, NodeBegin, NodeEnd, NodeId, QueueAdd, Status FROM Batch WHERE (Status = @Status)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="Status" ColumnName="Status" DataSourceName="Batch" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="InsertNamed" Modifier="Public" Name="InsertNamed" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="InsertNamed">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO [Batch] ([BatchId], [BatchGroup], [Comments], [NodeId], [QueueAdd], [NodeBegin], [NodeEnd], [LogFilenameFormat], [Status]) VALUES (@BatchId, @BatchGroup, @Comments, @NodeId, @QueueAdd, @NodeBegin, @NodeEnd, @LogFilenameFormat, @Status)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchId" ColumnName="BatchId" DataSourceName="Batch" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchGroup" ColumnName="BatchGroup" DataSourceName="Batch" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchGroup" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Comments" ColumnName="Comments" DataSourceName="Batch" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@Comments" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="Comments" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="NodeId" ColumnName="NodeId" DataSourceName="Batch" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@NodeId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="QueueAdd" ColumnName="QueueAdd" DataSourceName="Batch" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@QueueAdd" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="QueueAdd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="NodeBegin" ColumnName="NodeBegin" DataSourceName="Batch" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@NodeBegin" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="NodeBegin" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="NodeEnd" ColumnName="NodeEnd" DataSourceName="Batch" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@NodeEnd" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="NodeEnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="LogFilenameFormat" ColumnName="LogFilenameFormat" DataSourceName="Batch" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@LogFilenameFormat" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="LogFilenameFormat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Status" ColumnName="Status" DataSourceName="Batch" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateNamed" Modifier="Public" Name="UpdateNamed" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="UpdateNamed">
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE [Batch] SET [BatchId] = @BatchId, [BatchGroup] = @BatchGroup, [Comments] = @Comments, [NodeId] = @NodeId, [QueueAdd] = @QueueAdd, [NodeBegin] = @NodeBegin, [NodeEnd] = @NodeEnd, [LogFilenameFormat] = @LogFilenameFormat, [Status] = @Status WHERE (([BatchId] = @BatchId))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchId" ColumnName="BatchId" DataSourceName="Batch" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchGroup" ColumnName="BatchGroup" DataSourceName="Batch" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchGroup" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Comments" ColumnName="Comments" DataSourceName="Batch" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@Comments" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="Comments" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="NodeId" ColumnName="NodeId" DataSourceName="Batch" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@NodeId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="QueueAdd" ColumnName="QueueAdd" DataSourceName="Batch" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@QueueAdd" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="QueueAdd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="NodeBegin" ColumnName="NodeBegin" DataSourceName="Batch" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@NodeBegin" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="NodeBegin" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="NodeEnd" ColumnName="NodeEnd" DataSourceName="Batch" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@NodeEnd" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="NodeEnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="LogFilenameFormat" ColumnName="LogFilenameFormat" DataSourceName="Batch" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@LogFilenameFormat" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="LogFilenameFormat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Status" ColumnName="Status" DataSourceName="Batch" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BatchCommandTableAdapter" GeneratorDataComponentClassName="BatchCommandTableAdapter" Name="BatchCommand" UserDataComponentName="BatchCommandTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="BatchCommand" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [BatchCommand] WHERE (([BatchComId] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchComId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [BatchCommand] ([BatchId], [Arguments], [Command], [Path], [ErrorOnTimeOut], [BreakOnException], [CaptureOutput], [MaxTimeSeconds], [MinTimeSeconds], [BatchComId]) VALUES (@p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Arguments" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Command" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Path" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ErrorOnTimeOut" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="BreakOnException" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CaptureOutput" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MaxTimeSeconds" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MinTimeSeconds" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p10" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchComId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        BatchCommand.*
FROM            BatchCommand</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [BatchCommand] SET [BatchId] = @p1, [Arguments] = @p2, [Command] = @p3, [Path] = @p4, [ErrorOnTimeOut] = @p5, [BreakOnException] = @p6, [CaptureOutput] = @p7, [MaxTimeSeconds] = @p8, [MinTimeSeconds] = @p9, [BatchComId] = @p10 WHERE (([BatchComId] = @p11))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Arguments" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Command" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Path" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ErrorOnTimeOut" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="BreakOnException" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CaptureOutput" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MaxTimeSeconds" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MinTimeSeconds" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p10" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchComId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p11" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchComId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BatchId" DataSetColumn="BatchId" />
              <Mapping SourceColumn="Arguments" DataSetColumn="Arguments" />
              <Mapping SourceColumn="Command" DataSetColumn="Command" />
              <Mapping SourceColumn="Path" DataSetColumn="Path" />
              <Mapping SourceColumn="ErrorOnTimeOut" DataSetColumn="ErrorOnTimeOut" />
              <Mapping SourceColumn="BreakOnException" DataSetColumn="BreakOnException" />
              <Mapping SourceColumn="CaptureOutput" DataSetColumn="CaptureOutput" />
              <Mapping SourceColumn="MaxTimeSeconds" DataSetColumn="MaxTimeSeconds" />
              <Mapping SourceColumn="MinTimeSeconds" DataSetColumn="MinTimeSeconds" />
              <Mapping SourceColumn="BatchComId" DataSetColumn="BatchComId" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteByBatchId" Modifier="Public" Name="DeleteByBatchId" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteByBatchId">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE From BatchCommand WHERE BatchId = @BatchId</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchId" ColumnName="BatchId" DataSourceName="BatchCommand" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="BatchCommand" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByBatchComId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByBatchComId" GeneratorSourceName="FillByBatchComId" GetMethodModifier="Public" GetMethodName="GetDataByBatchComId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByBatchComId" UserSourceName="FillByBatchComId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT Arguments, BatchComId, BatchId, BreakOnException, CaptureOutput, Command, ErrorOnTimeOut, MaxTimeSeconds, MinTimeSeconds, Path FROM BatchCommand WHERE (BatchComId = @BatchComId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchComId" ColumnName="BatchComId" DataSourceName="BatchCommand" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchComId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchComId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="BatchCommand" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByBatchId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByBatchId" GeneratorSourceName="FillByBatchId" GetMethodModifier="Public" GetMethodName="GetDataByBatchId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByBatchId" UserSourceName="FillByBatchId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT Arguments, BatchComId, BatchId, BreakOnException, CaptureOutput, Command, ErrorOnTimeOut, MaxTimeSeconds, MinTimeSeconds, Path FROM BatchCommand WHERE (BatchId = @BatchId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchId" ColumnName="BatchId" DataSourceName="BatchCommand" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="InsertNamed" Modifier="Public" Name="InsertNamed" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="InsertNamed">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO BatchCommand
                         (BatchId, Arguments, Command, Path, ErrorOnTimeOut, BreakOnException, CaptureOutput, MaxTimeSeconds, MinTimeSeconds, BatchComId)
VALUES        (@BatchId,@Arguments,@Command,@Path,@ErrorOnTimeOut,@BreakOnException,@CaptureOutput,@MaxTimeSeconds,@MinTimeSeconds,@BatchComId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchId" ColumnName="BatchId" DataSourceName="BatchCommand" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Arguments" ColumnName="Arguments" DataSourceName="BatchCommand" DataTypeServer="nvarchar(384)" DbType="String" Direction="Input" ParameterName="@Arguments" Precision="0" ProviderType="NVarChar" Scale="0" Size="384" SourceColumn="Arguments" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Command" ColumnName="Command" DataSourceName="BatchCommand" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@Command" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="Command" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Path" ColumnName="Path" DataSourceName="BatchCommand" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@Path" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="Path" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ErrorOnTimeOut" ColumnName="ErrorOnTimeOut" DataSourceName="BatchCommand" DataTypeServer="bit(2)" DbType="Boolean" Direction="Input" ParameterName="@ErrorOnTimeOut" Precision="0" ProviderType="Bit" Scale="0" Size="2" SourceColumn="ErrorOnTimeOut" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="BreakOnException" ColumnName="BreakOnException" DataSourceName="BatchCommand" DataTypeServer="bit(2)" DbType="Boolean" Direction="Input" ParameterName="@BreakOnException" Precision="0" ProviderType="Bit" Scale="0" Size="2" SourceColumn="BreakOnException" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CaptureOutput" ColumnName="CaptureOutput" DataSourceName="BatchCommand" DataTypeServer="bit(2)" DbType="Boolean" Direction="Input" ParameterName="@CaptureOutput" Precision="0" ProviderType="Bit" Scale="0" Size="2" SourceColumn="CaptureOutput" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="MaxTimeSeconds" ColumnName="MaxTimeSeconds" DataSourceName="BatchCommand" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@MaxTimeSeconds" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="MaxTimeSeconds" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="MinTimeSeconds" ColumnName="MinTimeSeconds" DataSourceName="BatchCommand" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@MinTimeSeconds" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="MinTimeSeconds" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchComId" ColumnName="BatchComId" DataSourceName="BatchCommand" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchComId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchComId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateNamed" Modifier="Public" Name="UpdateNamed" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="UpdateNamed">
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE [BatchCommand] SET [BatchId] = @BatchId, [Arguments] = @Arguments, [Command] = @Comment, [Path] = @Path, [ErrorOnTimeOut] = @ErrorOnTimeOut, [BreakOnException] = @BreakOnException, [CaptureOutput] = @CaptureOutput, [MaxTimeSeconds] = @MaxTimeSeconds, [MinTimeSeconds] = @MinTimeSeconds WHERE (([BatchComId] = @BatchComId))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchId" ColumnName="BatchId" DataSourceName="BatchCommand" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Arguments" ColumnName="Arguments" DataSourceName="BatchCommand" DataTypeServer="nvarchar(384)" DbType="String" Direction="Input" ParameterName="@Arguments" Precision="0" ProviderType="NVarChar" Scale="0" Size="384" SourceColumn="Arguments" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Comment" ColumnName="Command" DataSourceName="BatchCommand" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@Comment" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="Command" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Path" ColumnName="Path" DataSourceName="BatchCommand" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@Path" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="Path" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ErrorOnTimeOut" ColumnName="ErrorOnTimeOut" DataSourceName="BatchCommand" DataTypeServer="bit(2)" DbType="Boolean" Direction="Input" ParameterName="@ErrorOnTimeOut" Precision="0" ProviderType="Bit" Scale="0" Size="2" SourceColumn="ErrorOnTimeOut" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="BreakOnException" ColumnName="BreakOnException" DataSourceName="BatchCommand" DataTypeServer="bit(2)" DbType="Boolean" Direction="Input" ParameterName="@BreakOnException" Precision="0" ProviderType="Bit" Scale="0" Size="2" SourceColumn="BreakOnException" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CaptureOutput" ColumnName="CaptureOutput" DataSourceName="BatchCommand" DataTypeServer="bit(2)" DbType="Boolean" Direction="Input" ParameterName="@CaptureOutput" Precision="0" ProviderType="Bit" Scale="0" Size="2" SourceColumn="CaptureOutput" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="MaxTimeSeconds" ColumnName="MaxTimeSeconds" DataSourceName="BatchCommand" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@MaxTimeSeconds" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="MaxTimeSeconds" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="MinTimeSeconds" ColumnName="MinTimeSeconds" DataSourceName="BatchCommand" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@MinTimeSeconds" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="MinTimeSeconds" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchComId" ColumnName="BatchComId" DataSourceName="BatchCommand" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchComId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchComId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BatchResourceTableAdapter" GeneratorDataComponentClassName="BatchResourceTableAdapter" Name="BatchResource" UserDataComponentName="BatchResourceTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="BatchResource" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [BatchResource] WHERE (([BatchResId] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchResId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [BatchResource] ([BatchId], [ClientPath], [ServerPath], [IsReturnResource], [BatchResId]) VALUES (@p1, @p2, @p3, @p4, @p5)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ClientPath" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ServerPath" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsReturnResource" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchResId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        BatchResource.*
FROM            BatchResource</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [BatchResource] SET [BatchId] = @p1, [ClientPath] = @p2, [ServerPath] = @p3, [IsReturnResource] = @p4, [BatchResId] = @p5 WHERE (([BatchResId] = @p6))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ClientPath" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ServerPath" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsReturnResource" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchResId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="BatchResId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BatchId" DataSetColumn="BatchId" />
              <Mapping SourceColumn="ClientPath" DataSetColumn="ClientPath" />
              <Mapping SourceColumn="ServerPath" DataSetColumn="ServerPath" />
              <Mapping SourceColumn="IsReturnResource" DataSetColumn="IsReturnResource" />
              <Mapping SourceColumn="BatchResId" DataSetColumn="BatchResId" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="DeleteByBatchId" Modifier="Public" Name="DeleteByBatchId" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteByBatchId">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE FROM BatchResource WHERE BatchId = @BatchId</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchId" ColumnName="BatchId" DataSourceName="BatchResource" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="BatchResource" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByBatchId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByBatchId" GeneratorSourceName="FillByBatchId" GetMethodModifier="Public" GetMethodName="GetDataByBatchId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByBatchId" UserSourceName="FillByBatchId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT BatchId, BatchResId, ClientPath, IsReturnResource, ServerPath FROM BatchResource WHERE (BatchId = @BatchId) AND (IsReturnResource = @IsReturnResource)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchId" ColumnName="BatchId" DataSourceName="BatchResource" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="IsReturnResource" ColumnName="IsReturnResource" DataSourceName="BatchResource" DataTypeServer="bit(2)" DbType="Boolean" Direction="Input" ParameterName="@IsReturnResource" Precision="0" ProviderType="Bit" Scale="0" Size="2" SourceColumn="IsReturnResource" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="BatchResource" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByBatchIdAndClientPath" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByBatchIdAndClientPath" GeneratorSourceName="FillByBatchIdAndClientPath" GetMethodModifier="Public" GetMethodName="GetDataByBatchIdAndClientPath" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByBatchIdAndClientPath" UserSourceName="FillByBatchIdAndClientPath">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT BatchId, BatchResId, ClientPath, IsReturnResource, ServerPath FROM BatchResource WHERE (BatchId = @BatchId) AND (ClientPath = @ClientPath)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchId" ColumnName="BatchId" DataSourceName="BatchResource" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ClientPath" ColumnName="ClientPath" DataSourceName="BatchResource" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@ClientPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="ClientPath" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="BatchResource" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByBatchResId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByBatchResId" GeneratorSourceName="FillByBatchResId" GetMethodModifier="Public" GetMethodName="GetDataByBatchResId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByBatchResId" UserSourceName="FillByBatchResId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT BatchId, BatchResId, ClientPath, IsReturnResource, ServerPath FROM BatchResource WHERE (BatchResId = @BatchResId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchResId" ColumnName="BatchResId" DataSourceName="BatchResource" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchResId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchResId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="InsertNamed" Modifier="Public" Name="InsertNamed" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="InsertNamed">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO BatchResource
                         (BatchId, ClientPath, ServerPath, IsReturnResource, BatchResId)
VALUES        (@BatchId,@ClientPath,@ServerPath,@IsReturnResource,@BatchResId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchId" ColumnName="BatchId" DataSourceName="BatchResource" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ClientPath" ColumnName="ClientPath" DataSourceName="BatchResource" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@ClientPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="ClientPath" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ServerPath" ColumnName="ServerPath" DataSourceName="BatchResource" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@ServerPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="ServerPath" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="IsReturnResource" ColumnName="IsReturnResource" DataSourceName="BatchResource" DataTypeServer="bit(2)" DbType="Boolean" Direction="Input" ParameterName="@IsReturnResource" Precision="0" ProviderType="Bit" Scale="0" Size="2" SourceColumn="IsReturnResource" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchResId" ColumnName="BatchResId" DataSourceName="BatchResource" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchResId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchResId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateNamed" Modifier="Public" Name="UpdateNamed" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="UpdateNamed">
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE [BatchResource] SET [BatchId] = @BatchId, [ClientPath] = @ClientPath, [ServerPath] = @ServerPath, [IsReturnResource] = @IsReturnResource WHERE (([BatchResId] = @BatchResId))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchId" ColumnName="BatchId" DataSourceName="BatchResource" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ClientPath" ColumnName="ClientPath" DataSourceName="BatchResource" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@ClientPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="ClientPath" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ServerPath" ColumnName="ServerPath" DataSourceName="BatchResource" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@ServerPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="ServerPath" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="IsReturnResource" ColumnName="IsReturnResource" DataSourceName="BatchResource" DataTypeServer="bit(2)" DbType="Boolean" Direction="Input" ParameterName="@IsReturnResource" Precision="0" ProviderType="Bit" Scale="0" Size="2" SourceColumn="IsReturnResource" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="BatchResId" ColumnName="BatchResId" DataSourceName="BatchResource" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@BatchResId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="BatchResId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BatchGroupTableAdapter" GeneratorDataComponentClassName="BatchGroupTableAdapter" Name="BatchGroup" UserDataComponentName="BatchGroupTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="BatchGroup" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [BatchGroup] WHERE (([GroupId] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="GroupId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [BatchGroup] ([GroupId], [StartTime], [EndTime], [Comment], [TotalBatches], [CompleteBatches], [OutputDirectory], [Status], [RemainingBatches]) VALUES (@p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="GroupId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Comment" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TotalBatches" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CompleteBatches" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OutputDirectory" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RemainingBatches" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        BatchGroup.*
FROM            BatchGroup</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [BatchGroup] SET [GroupId] = @p1, [StartTime] = @p2, [EndTime] = @p3, [Comment] = @p4, [TotalBatches] = @p5, [CompleteBatches] = @p6, [OutputDirectory] = @p7, [Status] = @p8, [RemainingBatches] = @p9 WHERE (([GroupId] = @p10))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="GroupId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Comment" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TotalBatches" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CompleteBatches" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OutputDirectory" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RemainingBatches" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p10" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="GroupId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="GroupId" DataSetColumn="GroupId" />
              <Mapping SourceColumn="StartTime" DataSetColumn="StartTime" />
              <Mapping SourceColumn="EndTime" DataSetColumn="EndTime" />
              <Mapping SourceColumn="Comment" DataSetColumn="Comment" />
              <Mapping SourceColumn="TotalBatches" DataSetColumn="TotalBatches" />
              <Mapping SourceColumn="CompleteBatches" DataSetColumn="CompleteBatches" />
              <Mapping SourceColumn="OutputDirectory" DataSetColumn="OutputDirectory" />
              <Mapping SourceColumn="Status" DataSetColumn="Status" />
              <Mapping SourceColumn="RemainingBatches" DataSetColumn="RemainingBatches" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="BatchGroup" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByGroupId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByGroupId" GeneratorSourceName="FillByGroupId" GetMethodModifier="Public" GetMethodName="GetDataByGroupId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByGroupId" UserSourceName="FillByGroupId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT Comment, CompleteBatches, EndTime, GroupId, OutputDirectory, RemainingBatches, StartTime, Status, TotalBatches FROM BatchGroup WHERE (GroupId = @GroupId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="GroupId" ColumnName="GroupId" DataSourceName="BatchGroup" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@GroupId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="GroupId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="InsertNamed" Modifier="Public" Name="InsertNamed" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="InsertNamed">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO [BatchGroup] ([GroupId], [StartTime], [EndTime], [Comment], [TotalBatches], [CompleteBatches], [OutputDirectory], [Status], [RemainingBatches]) VALUES (@GroupId, @StartTime, @EndTime, @Comment, @TotalBatches, @CompleteBatches, @OutputDirectory, @Status, @RemainingBatches)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="GroupId" ColumnName="GroupId" DataSourceName="BatchGroup" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@GroupId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="GroupId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="StartTime" ColumnName="StartTime" DataSourceName="BatchGroup" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@StartTime" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="StartTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="EndTime" ColumnName="EndTime" DataSourceName="BatchGroup" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@EndTime" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="EndTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Comment" ColumnName="Comment" DataSourceName="BatchGroup" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@Comment" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="Comment" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="TotalBatches" ColumnName="TotalBatches" DataSourceName="BatchGroup" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@TotalBatches" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="TotalBatches" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CompleteBatches" ColumnName="CompleteBatches" DataSourceName="BatchGroup" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@CompleteBatches" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="CompleteBatches" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="OutputDirectory" ColumnName="OutputDirectory" DataSourceName="BatchGroup" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@OutputDirectory" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="OutputDirectory" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Status" ColumnName="Status" DataSourceName="BatchGroup" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="RemainingBatches" ColumnName="RemainingBatches" DataSourceName="BatchGroup" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@RemainingBatches" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="RemainingBatches" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateNamed" Modifier="Public" Name="UpdateNamed" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="UpdateNamed">
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE       BatchGroup
SET                GroupId = @GroupId, StartTime = @StartTime, EndTime = @EndTime, Comment = @comment, TotalBatches = @TotalBatches, 
                         CompleteBatches = @CompleteBatches, OutputDirectory = @OutputDirectory, Status = @Status, RemainingBatches = @RemainingBatches
WHERE        (GroupId = @GroupId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="GroupId" ColumnName="GroupId" DataSourceName="BatchGroup" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@GroupId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="GroupId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="StartTime" ColumnName="StartTime" DataSourceName="BatchGroup" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@StartTime" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="StartTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="EndTime" ColumnName="EndTime" DataSourceName="BatchGroup" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@EndTime" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="EndTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="comment" ColumnName="Comment" DataSourceName="BatchGroup" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@comment" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="Comment" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="TotalBatches" ColumnName="TotalBatches" DataSourceName="BatchGroup" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@TotalBatches" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="TotalBatches" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CompleteBatches" ColumnName="CompleteBatches" DataSourceName="BatchGroup" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@CompleteBatches" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="CompleteBatches" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="OutputDirectory" ColumnName="OutputDirectory" DataSourceName="BatchGroup" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@OutputDirectory" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="OutputDirectory" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Status" ColumnName="Status" DataSourceName="BatchGroup" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="RemainingBatches" ColumnName="RemainingBatches" DataSourceName="BatchGroup" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@RemainingBatches" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="RemainingBatches" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="NodeTableAdapter" GeneratorDataComponentClassName="NodeTableAdapter" Name="Node" UserDataComponentName="NodeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="Node" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Node] WHERE (([NodeId] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Node] ([NodeId], [LastSeen], [State], [StatusDescription], [PercentComplete], [StartTime], [EndTime], [IpAddress], [NodeName], [AcceptNewJobs], [ErrorTimeout], [NormalTimeout]) VALUES (@p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastSeen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="StatusDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PercentComplete" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="IpAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NodeName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p10" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="AcceptNewJobs" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p11" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ErrorTimeout" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p12" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NormalTimeout" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        Node.*
FROM            Node</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Node] SET [NodeId] = @p1, [LastSeen] = @p2, [State] = @p3, [StatusDescription] = @p4, [PercentComplete] = @p5, [StartTime] = @p6, [EndTime] = @p7, [IpAddress] = @p8, [NodeName] = @p9, [AcceptNewJobs] = @p10, [ErrorTimeout] = @p11, [NormalTimeout] = @p12 WHERE (([NodeId] = @p13))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastSeen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="StatusDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PercentComplete" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="IpAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NodeName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p10" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="AcceptNewJobs" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p11" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ErrorTimeout" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p12" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NormalTimeout" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p13" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="NodeId" DataSetColumn="NodeId" />
              <Mapping SourceColumn="LastSeen" DataSetColumn="LastSeen" />
              <Mapping SourceColumn="State" DataSetColumn="State" />
              <Mapping SourceColumn="StatusDescription" DataSetColumn="StatusDescription" />
              <Mapping SourceColumn="PercentComplete" DataSetColumn="PercentComplete" />
              <Mapping SourceColumn="StartTime" DataSetColumn="StartTime" />
              <Mapping SourceColumn="EndTime" DataSetColumn="EndTime" />
              <Mapping SourceColumn="IpAddress" DataSetColumn="IpAddress" />
              <Mapping SourceColumn="NodeName" DataSetColumn="NodeName" />
              <Mapping SourceColumn="AcceptNewJobs" DataSetColumn="AcceptNewJobs" />
              <Mapping SourceColumn="ErrorTimeout" DataSetColumn="ErrorTimeout" />
              <Mapping SourceColumn="NormalTimeout" DataSetColumn="NormalTimeout" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CountByState" Modifier="Public" Name="CountByState" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="CountByState">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT COUNT(*) FROM Node WHERE State = @State</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="State" ColumnName="State" DataSourceName="Node" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@State" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CountNodes" Modifier="Public" Name="CountNodes" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="CountNodes">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT COUNT(*) FROM Node</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="Node" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByMaxLastSeen" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByMaxLastSeen" GeneratorSourceName="FillByMaxLastSeen" GetMethodModifier="Public" GetMethodName="GetDataByMaxLastSeen" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByMaxLastSeen" UserSourceName="FillByMaxLastSeen">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AcceptNewJobs, EndTime, ErrorTimeout, IpAddress, LastSeen, NodeId, NodeName, NormalTimeout, PercentComplete, StartTime, State, StatusDescription FROM Node WHERE (LastSeen &lt;= @maxLastSeen)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="maxLastSeen" ColumnName="LastSeen" DataSourceName="Node" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@maxLastSeen" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="LastSeen" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="Node" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByNodeId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByNodeId" GeneratorSourceName="FillByNodeId" GetMethodModifier="Public" GetMethodName="GetDataByNodeId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByNodeId" UserSourceName="FillByNodeId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AcceptNewJobs, EndTime, ErrorTimeout, IpAddress, LastSeen, NodeId, NodeName, NormalTimeout, PercentComplete, StartTime, State, StatusDescription FROM Node WHERE (NodeId = @NodeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="NodeId" ColumnName="NodeId" DataSourceName="Node" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@NodeId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="Node" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByState" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByState" GeneratorSourceName="FillByState" GetMethodModifier="Public" GetMethodName="GetDataByState" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByState" UserSourceName="FillByState">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AcceptNewJobs, EndTime, ErrorTimeout, IpAddress, LastSeen, NodeId, NodeName, NormalTimeout, PercentComplete, StartTime, State, StatusDescription FROM Node WHERE (State = @State)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="State" ColumnName="State" DataSourceName="Node" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@State" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="InsertNamed" Modifier="Public" Name="InsertNamed" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="InsertNamed">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO [Node] ([NodeId], [LastSeen], [State], [StatusDescription], [PercentComplete], [StartTime], [EndTime], [IpAddress], [NodeName], [AcceptNewJobs], [ErrorTimeout], [NormalTimeout]) VALUES (@NodeId, @LastSeen, @State, @StatusDescription, @PercentComplete, @StartTime, @EndTime, @IpAddress, @NodeName, @AcceptNewJobs, @ErrorTimeout, @NormalTimeout)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="NodeId" ColumnName="NodeId" DataSourceName="Node" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@NodeId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="LastSeen" ColumnName="LastSeen" DataSourceName="Node" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@LastSeen" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="LastSeen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="State" ColumnName="State" DataSourceName="Node" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@State" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="StatusDescription" ColumnName="StatusDescription" DataSourceName="Node" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@StatusDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="StatusDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="PercentComplete" ColumnName="PercentComplete" DataSourceName="Node" DataTypeServer="float(8)" DbType="Double" Direction="Input" ParameterName="@PercentComplete" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="PercentComplete" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="StartTime" ColumnName="StartTime" DataSourceName="Node" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@StartTime" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="StartTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="EndTime" ColumnName="EndTime" DataSourceName="Node" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@EndTime" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="EndTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="IpAddress" ColumnName="IpAddress" DataSourceName="Node" DataTypeServer="nvarchar(32)" DbType="String" Direction="Input" ParameterName="@IpAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="32" SourceColumn="IpAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="NodeName" ColumnName="NodeName" DataSourceName="Node" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@NodeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="NodeName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="AcceptNewJobs" ColumnName="AcceptNewJobs" DataSourceName="Node" DataTypeServer="bit(1)" DbType="Boolean" Direction="Input" ParameterName="@AcceptNewJobs" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="AcceptNewJobs" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ErrorTimeout" ColumnName="ErrorTimeout" DataSourceName="Node" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@ErrorTimeout" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ErrorTimeout" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="NormalTimeout" ColumnName="NormalTimeout" DataSourceName="Node" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@NormalTimeout" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="NormalTimeout" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateNamed" Modifier="Public" Name="UpdateNamed" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="UpdateNamed">
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE [Node] SET [NodeId] = @NodeId, [LastSeen] = @LastSeen, [State] = @State, [StatusDescription] = @StatusDescription, [PercentComplete] = @PercentComplete, [StartTime] = @StartTime, [EndTime] = @EndTime, [IpAddress] = @IpAddress, [NodeName] = @NodeName, [AcceptNewJobs] = @AcceptNewJobs, [ErrorTimeout] = @ErrorTimeout, [NormalTimeout] = @NormalTimeout WHERE (([NodeId] = @NodeId))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="NodeId" ColumnName="NodeId" DataSourceName="Node" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@NodeId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="LastSeen" ColumnName="LastSeen" DataSourceName="Node" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@LastSeen" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="LastSeen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="State" ColumnName="State" DataSourceName="Node" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@State" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="StatusDescription" ColumnName="StatusDescription" DataSourceName="Node" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@StatusDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="StatusDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="PercentComplete" ColumnName="PercentComplete" DataSourceName="Node" DataTypeServer="float(8)" DbType="Double" Direction="Input" ParameterName="@PercentComplete" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="PercentComplete" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="StartTime" ColumnName="StartTime" DataSourceName="Node" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@StartTime" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="StartTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="EndTime" ColumnName="EndTime" DataSourceName="Node" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@EndTime" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="EndTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="IpAddress" ColumnName="IpAddress" DataSourceName="Node" DataTypeServer="nvarchar(32)" DbType="String" Direction="Input" ParameterName="@IpAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="32" SourceColumn="IpAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="NodeName" ColumnName="NodeName" DataSourceName="Node" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@NodeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="NodeName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="AcceptNewJobs" ColumnName="AcceptNewJobs" DataSourceName="Node" DataTypeServer="bit(2)" DbType="Boolean" Direction="Input" ParameterName="@AcceptNewJobs" Precision="0" ProviderType="Bit" Scale="0" Size="2" SourceColumn="AcceptNewJobs" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ErrorTimeout" ColumnName="ErrorTimeout" DataSourceName="Node" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@ErrorTimeout" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ErrorTimeout" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="NormalTimeout" ColumnName="NormalTimeout" DataSourceName="Node" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@NormalTimeout" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="NormalTimeout" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="NodeActionRequestTableAdapter" GeneratorDataComponentClassName="NodeActionRequestTableAdapter" Name="NodeActionRequest" UserDataComponentName="NodeActionRequestTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="NodeActionRequest" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [NodeActionRequest] WHERE (([ActionReqId] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ActionReqId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [NodeActionRequest] ([NodeId], [ActionType], [PayloadKey], [PayloadValue], [TimeAdded], [ActionReqId]) VALUES (@p1, @p2, @p3, @p4, @p5, @p6)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ActionType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PayloadKey" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PayloadValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="TimeAdded" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ActionReqId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        NodeActionRequest.*
FROM            NodeActionRequest</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [NodeActionRequest] SET [NodeId] = @p1, [ActionType] = @p2, [PayloadKey] = @p3, [PayloadValue] = @p4, [TimeAdded] = @p5, [ActionReqId] = @p6 WHERE (([ActionReqId] = @p7))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ActionType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PayloadKey" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PayloadValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="TimeAdded" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ActionReqId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ActionReqId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="NodeId" DataSetColumn="NodeId" />
              <Mapping SourceColumn="ActionType" DataSetColumn="ActionType" />
              <Mapping SourceColumn="PayloadKey" DataSetColumn="PayloadKey" />
              <Mapping SourceColumn="PayloadValue" DataSetColumn="PayloadValue" />
              <Mapping SourceColumn="TimeAdded" DataSetColumn="TimeAdded" />
              <Mapping SourceColumn="ActionReqId" DataSetColumn="ActionReqId" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="NodeActionRequest" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByActionReqId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByActionReqId" GeneratorSourceName="FillByActionReqId" GetMethodModifier="Public" GetMethodName="GetDataByActionReqId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByActionReqId" UserSourceName="FillByActionReqId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT ActionReqId, ActionType, NodeId, PayloadKey, PayloadValue, TimeAdded FROM NodeActionRequest WHERE (ActionReqId = @ActionReqId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ActionReqId" ColumnName="ActionReqId" DataSourceName="NodeActionRequest" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@ActionReqId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="ActionReqId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="NodeActionRequest" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByNodeId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByNodeId" GeneratorSourceName="FillByNodeId" GetMethodModifier="Public" GetMethodName="GetDataByNodeId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByNodeId" UserSourceName="FillByNodeId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT ActionReqId, ActionType, NodeId, PayloadKey, PayloadValue, TimeAdded FROM NodeActionRequest WHERE (NodeId = @NodeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="NodeId" ColumnName="NodeId" DataSourceName="NodeActionRequest" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@NodeId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="InsertNamed" Modifier="Public" Name="InsertNamed" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="InsertNamed">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO NodeActionRequest
                         (NodeId, ActionType, PayloadKey, PayloadValue, TimeAdded, ActionReqId)
VALUES        (@NodeId,@ActionType,@PayloadKey,@PayloadValue,@TimeAdded,@ActionReqId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="NodeId" ColumnName="NodeId" DataSourceName="NodeActionRequest" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@NodeId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ActionType" ColumnName="ActionType" DataSourceName="NodeActionRequest" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@ActionType" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ActionType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="PayloadKey" ColumnName="PayloadKey" DataSourceName="NodeActionRequest" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@PayloadKey" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="PayloadKey" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="PayloadValue" ColumnName="PayloadValue" DataSourceName="NodeActionRequest" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@PayloadValue" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="PayloadValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="TimeAdded" ColumnName="TimeAdded" DataSourceName="NodeActionRequest" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@TimeAdded" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="TimeAdded" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ActionReqId" ColumnName="ActionReqId" DataSourceName="NodeActionRequest" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@ActionReqId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="ActionReqId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="BatchStoreConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateNamed" Modifier="Public" Name="UpdateNamed" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="UpdateNamed">
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE [NodeActionRequest] SET [NodeId] = @NodeId, [ActionType] = @ActionType, [PayloadKey] = @PayloadKey, [PayloadValue] = @PayloadValue, [TimeAdded] = @TimeAdded, WHERE (([ActionReqId] = @ActionReqId))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="NodeId" ColumnName="NodeId" DataSourceName="NodeActionRequest" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@NodeId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="NodeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ActionType" ColumnName="ActionType" DataSourceName="NodeActionRequest" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@ActionType" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ActionType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="PayloadKey" ColumnName="PayloadKey" DataSourceName="NodeActionRequest" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@PayloadKey" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="PayloadKey" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="PayloadValue" ColumnName="PayloadValue" DataSourceName="NodeActionRequest" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@PayloadValue" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="PayloadValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="TimeAdded" ColumnName="TimeAdded" DataSourceName="NodeActionRequest" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@TimeAdded" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="TimeAdded" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ActionReqId" ColumnName="ActionReqId" DataSourceName="NodeActionRequest" DataTypeServer="uniqueidentifier(16)" DbType="Guid" Direction="Input" ParameterName="@ActionReqId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="ActionReqId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="BatchStoreDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="BatchStoreDataSet" msprop:Generator_DataSetName="BatchStoreDataSet" msprop:EnableTableAdapterManager="True">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="BatchGroup" msprop:Generator_UserTableName="BatchGroup" msprop:Generator_RowDeletedName="BatchGroupRowDeleted" msprop:Generator_RowChangedName="BatchGroupRowChanged" msprop:Generator_RowClassName="BatchGroupRow" msprop:Generator_RowChangingName="BatchGroupRowChanging" msprop:Generator_RowEvArgName="BatchGroupRowChangeEvent" msprop:Generator_RowEvHandlerName="BatchGroupRowChangeEventHandler" msprop:Generator_TableClassName="BatchGroupDataTable" msprop:Generator_TableVarName="tableBatchGroup" msprop:Generator_RowDeletingName="BatchGroupRowDeleting" msprop:Generator_TablePropName="BatchGroup">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="GroupId" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="GroupId" msprop:Generator_ColumnPropNameInRow="GroupId" msprop:Generator_ColumnVarNameInTable="columnGroupId" msprop:Generator_ColumnPropNameInTable="GroupIdColumn" type="xs:string" />
              <xs:element name="StartTime" msprop:Generator_UserColumnName="StartTime" msprop:Generator_ColumnPropNameInRow="StartTime" msprop:Generator_ColumnVarNameInTable="columnStartTime" msprop:Generator_ColumnPropNameInTable="StartTimeColumn" type="xs:dateTime" />
              <xs:element name="EndTime" msprop:Generator_UserColumnName="EndTime" msprop:Generator_ColumnPropNameInRow="EndTime" msprop:Generator_ColumnVarNameInTable="columnEndTime" msprop:Generator_ColumnPropNameInTable="EndTimeColumn" type="xs:dateTime" />
              <xs:element name="Comment" msprop:Generator_UserColumnName="Comment" msprop:Generator_ColumnPropNameInRow="Comment" msprop:Generator_ColumnVarNameInTable="columnComment" msprop:Generator_ColumnPropNameInTable="CommentColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TotalBatches" msprop:Generator_UserColumnName="TotalBatches" msprop:Generator_ColumnPropNameInRow="TotalBatches" msprop:Generator_ColumnVarNameInTable="columnTotalBatches" msprop:Generator_ColumnPropNameInTable="TotalBatchesColumn" type="xs:int" />
              <xs:element name="CompleteBatches" msprop:Generator_UserColumnName="CompleteBatches" msprop:Generator_ColumnPropNameInRow="CompleteBatches" msprop:Generator_ColumnVarNameInTable="columnCompleteBatches" msprop:Generator_ColumnPropNameInTable="CompleteBatchesColumn" type="xs:int" />
              <xs:element name="OutputDirectory" msprop:Generator_UserColumnName="OutputDirectory" msprop:Generator_ColumnPropNameInRow="OutputDirectory" msprop:Generator_ColumnVarNameInTable="columnOutputDirectory" msprop:Generator_ColumnPropNameInTable="OutputDirectoryColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInTable="StatusColumn" type="xs:int" />
              <xs:element name="RemainingBatches" msprop:Generator_UserColumnName="RemainingBatches" msprop:Generator_ColumnPropNameInRow="RemainingBatches" msprop:Generator_ColumnVarNameInTable="columnRemainingBatches" msprop:Generator_ColumnPropNameInTable="RemainingBatchesColumn" type="xs:int" />
              <xs:element name="Batch" msprop:Generator_UserTableName="Batch" msprop:Generator_RowDeletedName="BatchRowDeleted" msprop:Generator_RowChangedName="BatchRowChanged" msprop:Generator_RowClassName="BatchRow" msprop:Generator_RowChangingName="BatchRowChanging" msprop:Generator_RowEvArgName="BatchRowChangeEvent" msprop:Generator_RowEvHandlerName="BatchRowChangeEventHandler" msprop:Generator_TableClassName="BatchDataTable" msprop:Generator_TableVarName="tableBatch" msprop:Generator_RowDeletingName="BatchRowDeleting" msprop:Generator_TablePropName="Batch" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="BatchId" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="BatchId" msprop:Generator_ColumnVarNameInTable="columnBatchId" msprop:Generator_ColumnPropNameInRow="BatchId" msprop:Generator_ColumnPropNameInTable="BatchIdColumn" type="xs:string" />
                    <xs:element name="BatchGroup" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="BatchGroup" msprop:Generator_ColumnVarNameInTable="columnBatchGroup" msprop:Generator_ColumnPropNameInRow="BatchGroup" msprop:Generator_ColumnPropNameInTable="BatchGroupColumn" type="xs:string" />
                    <xs:element name="Comments" msprop:Generator_UserColumnName="Comments" msprop:Generator_ColumnVarNameInTable="columnComments" msprop:Generator_ColumnPropNameInRow="Comments" msprop:Generator_ColumnPropNameInTable="CommentsColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="100" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="NodeId" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="NodeId" msprop:Generator_ColumnVarNameInTable="columnNodeId" msprop:Generator_ColumnPropNameInRow="NodeId" msprop:Generator_ColumnPropNameInTable="NodeIdColumn" type="xs:string" />
                    <xs:element name="QueueAdd" msprop:Generator_UserColumnName="QueueAdd" msprop:Generator_ColumnVarNameInTable="columnQueueAdd" msprop:Generator_ColumnPropNameInRow="QueueAdd" msprop:Generator_ColumnPropNameInTable="QueueAddColumn" type="xs:dateTime" />
                    <xs:element name="NodeBegin" msprop:Generator_UserColumnName="NodeBegin" msprop:Generator_ColumnVarNameInTable="columnNodeBegin" msprop:Generator_ColumnPropNameInRow="NodeBegin" msprop:Generator_ColumnPropNameInTable="NodeBeginColumn" type="xs:dateTime" />
                    <xs:element name="NodeEnd" msprop:Generator_UserColumnName="NodeEnd" msprop:Generator_ColumnVarNameInTable="columnNodeEnd" msprop:Generator_ColumnPropNameInRow="NodeEnd" msprop:Generator_ColumnPropNameInTable="NodeEndColumn" type="xs:dateTime" />
                    <xs:element name="LogFilenameFormat" msprop:Generator_UserColumnName="LogFilenameFormat" msprop:Generator_ColumnVarNameInTable="columnLogFilenameFormat" msprop:Generator_ColumnPropNameInRow="LogFilenameFormat" msprop:Generator_ColumnPropNameInTable="LogFilenameFormatColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="100" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" type="xs:int" />
                    <xs:element name="BatchCommand" msprop:Generator_UserTableName="BatchCommand" msprop:Generator_RowDeletedName="BatchCommandRowDeleted" msprop:Generator_RowChangedName="BatchCommandRowChanged" msprop:Generator_RowClassName="BatchCommandRow" msprop:Generator_RowChangingName="BatchCommandRowChanging" msprop:Generator_RowEvArgName="BatchCommandRowChangeEvent" msprop:Generator_RowEvHandlerName="BatchCommandRowChangeEventHandler" msprop:Generator_TableClassName="BatchCommandDataTable" msprop:Generator_TableVarName="tableBatchCommand" msprop:Generator_RowDeletingName="BatchCommandRowDeleting" msprop:Generator_TablePropName="BatchCommand" minOccurs="0" maxOccurs="unbounded">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="BatchId" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="BatchId" msprop:Generator_ColumnPropNameInRow="BatchId" msprop:Generator_ColumnVarNameInTable="columnBatchId" msprop:Generator_ColumnPropNameInTable="BatchIdColumn" type="xs:string" />
                          <xs:element name="Arguments" msprop:Generator_UserColumnName="Arguments" msprop:Generator_ColumnPropNameInRow="Arguments" msprop:Generator_ColumnVarNameInTable="columnArguments" msprop:Generator_ColumnPropNameInTable="ArgumentsColumn">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="384" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="Command" msprop:Generator_UserColumnName="Command" msprop:Generator_ColumnPropNameInRow="Command" msprop:Generator_ColumnVarNameInTable="columnCommand" msprop:Generator_ColumnPropNameInTable="CommandColumn">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="255" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="Path" msprop:Generator_UserColumnName="Path" msprop:Generator_ColumnPropNameInRow="Path" msprop:Generator_ColumnVarNameInTable="columnPath" msprop:Generator_ColumnPropNameInTable="PathColumn">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="255" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="ErrorOnTimeOut" msprop:Generator_UserColumnName="ErrorOnTimeOut" msprop:Generator_ColumnPropNameInRow="ErrorOnTimeOut" msprop:Generator_ColumnVarNameInTable="columnErrorOnTimeOut" msprop:Generator_ColumnPropNameInTable="ErrorOnTimeOutColumn" type="xs:boolean" />
                          <xs:element name="BreakOnException" msprop:Generator_UserColumnName="BreakOnException" msprop:Generator_ColumnPropNameInRow="BreakOnException" msprop:Generator_ColumnVarNameInTable="columnBreakOnException" msprop:Generator_ColumnPropNameInTable="BreakOnExceptionColumn" type="xs:boolean" />
                          <xs:element name="CaptureOutput" msprop:Generator_UserColumnName="CaptureOutput" msprop:Generator_ColumnPropNameInRow="CaptureOutput" msprop:Generator_ColumnVarNameInTable="columnCaptureOutput" msprop:Generator_ColumnPropNameInTable="CaptureOutputColumn" type="xs:boolean" />
                          <xs:element name="MaxTimeSeconds" msprop:Generator_UserColumnName="MaxTimeSeconds" msprop:Generator_ColumnPropNameInRow="MaxTimeSeconds" msprop:Generator_ColumnVarNameInTable="columnMaxTimeSeconds" msprop:Generator_ColumnPropNameInTable="MaxTimeSecondsColumn" type="xs:int" />
                          <xs:element name="MinTimeSeconds" msprop:Generator_UserColumnName="MinTimeSeconds" msprop:Generator_ColumnPropNameInRow="MinTimeSeconds" msprop:Generator_ColumnVarNameInTable="columnMinTimeSeconds" msprop:Generator_ColumnPropNameInTable="MinTimeSecondsColumn" type="xs:int" />
                          <xs:element name="BatchComId" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="BatchComId" msprop:Generator_ColumnPropNameInRow="BatchComId" msprop:Generator_ColumnVarNameInTable="columnBatchComId" msprop:Generator_ColumnPropNameInTable="BatchComIdColumn" type="xs:string" />
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="BatchResource" msprop:Generator_UserTableName="BatchResource" msprop:Generator_RowDeletedName="BatchResourceRowDeleted" msprop:Generator_RowChangedName="BatchResourceRowChanged" msprop:Generator_RowClassName="BatchResourceRow" msprop:Generator_RowChangingName="BatchResourceRowChanging" msprop:Generator_RowEvArgName="BatchResourceRowChangeEvent" msprop:Generator_RowEvHandlerName="BatchResourceRowChangeEventHandler" msprop:Generator_TableClassName="BatchResourceDataTable" msprop:Generator_TableVarName="tableBatchResource" msprop:Generator_RowDeletingName="BatchResourceRowDeleting" msprop:Generator_TablePropName="BatchResource" minOccurs="0" maxOccurs="unbounded">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="BatchId" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="BatchId" msprop:Generator_ColumnPropNameInRow="BatchId" msprop:Generator_ColumnVarNameInTable="columnBatchId" msprop:Generator_ColumnPropNameInTable="BatchIdColumn" type="xs:string" />
                          <xs:element name="ClientPath" msprop:Generator_UserColumnName="ClientPath" msprop:Generator_ColumnPropNameInRow="ClientPath" msprop:Generator_ColumnVarNameInTable="columnClientPath" msprop:Generator_ColumnPropNameInTable="ClientPathColumn">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="255" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="ServerPath" msprop:Generator_UserColumnName="ServerPath" msprop:Generator_ColumnPropNameInRow="ServerPath" msprop:Generator_ColumnVarNameInTable="columnServerPath" msprop:Generator_ColumnPropNameInTable="ServerPathColumn">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="255" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="IsReturnResource" msprop:Generator_UserColumnName="IsReturnResource" msprop:Generator_ColumnPropNameInRow="IsReturnResource" msprop:Generator_ColumnVarNameInTable="columnIsReturnResource" msprop:Generator_ColumnPropNameInTable="IsReturnResourceColumn" type="xs:boolean" />
                          <xs:element name="BatchResId" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="BatchResId" msprop:Generator_ColumnPropNameInRow="BatchResId" msprop:Generator_ColumnVarNameInTable="columnBatchResId" msprop:Generator_ColumnPropNameInTable="BatchResIdColumn" type="xs:string" />
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Node" msprop:Generator_UserTableName="Node" msprop:Generator_RowDeletedName="NodeRowDeleted" msprop:Generator_RowChangedName="NodeRowChanged" msprop:Generator_RowClassName="NodeRow" msprop:Generator_RowChangingName="NodeRowChanging" msprop:Generator_RowEvArgName="NodeRowChangeEvent" msprop:Generator_RowEvHandlerName="NodeRowChangeEventHandler" msprop:Generator_TableClassName="NodeDataTable" msprop:Generator_TableVarName="tableNode" msprop:Generator_RowDeletingName="NodeRowDeleting" msprop:Generator_TablePropName="Node">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="NodeId" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="NodeId" msprop:Generator_ColumnVarNameInTable="columnNodeId" msprop:Generator_ColumnPropNameInRow="NodeId" msprop:Generator_ColumnPropNameInTable="NodeIdColumn" type="xs:string" />
              <xs:element name="LastSeen" msprop:Generator_UserColumnName="LastSeen" msprop:Generator_ColumnVarNameInTable="columnLastSeen" msprop:Generator_ColumnPropNameInRow="LastSeen" msprop:Generator_ColumnPropNameInTable="LastSeenColumn" type="xs:dateTime" />
              <xs:element name="State" msprop:Generator_UserColumnName="State" msprop:Generator_ColumnVarNameInTable="columnState" msprop:Generator_ColumnPropNameInRow="State" msprop:Generator_ColumnPropNameInTable="StateColumn" type="xs:int" />
              <xs:element name="StatusDescription" msprop:Generator_UserColumnName="StatusDescription" msprop:Generator_ColumnVarNameInTable="columnStatusDescription" msprop:Generator_ColumnPropNameInRow="StatusDescription" msprop:Generator_ColumnPropNameInTable="StatusDescriptionColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PercentComplete" msprop:Generator_UserColumnName="PercentComplete" msprop:Generator_ColumnVarNameInTable="columnPercentComplete" msprop:Generator_ColumnPropNameInRow="PercentComplete" msprop:Generator_ColumnPropNameInTable="PercentCompleteColumn" type="xs:double" />
              <xs:element name="StartTime" msprop:Generator_UserColumnName="StartTime" msprop:Generator_ColumnVarNameInTable="columnStartTime" msprop:Generator_ColumnPropNameInRow="StartTime" msprop:Generator_ColumnPropNameInTable="StartTimeColumn" type="xs:dateTime" />
              <xs:element name="EndTime" msprop:Generator_UserColumnName="EndTime" msprop:Generator_ColumnVarNameInTable="columnEndTime" msprop:Generator_ColumnPropNameInRow="EndTime" msprop:Generator_ColumnPropNameInTable="EndTimeColumn" type="xs:dateTime" />
              <xs:element name="IpAddress" msprop:Generator_UserColumnName="IpAddress" msprop:Generator_ColumnVarNameInTable="columnIpAddress" msprop:Generator_ColumnPropNameInRow="IpAddress" msprop:Generator_ColumnPropNameInTable="IpAddressColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="32" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="NodeName" msprop:Generator_UserColumnName="NodeName" msprop:Generator_ColumnVarNameInTable="columnNodeName" msprop:Generator_ColumnPropNameInRow="NodeName" msprop:Generator_ColumnPropNameInTable="NodeNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AcceptNewJobs" msprop:Generator_UserColumnName="AcceptNewJobs" msprop:Generator_ColumnVarNameInTable="columnAcceptNewJobs" msprop:Generator_ColumnPropNameInRow="AcceptNewJobs" msprop:Generator_ColumnPropNameInTable="AcceptNewJobsColumn" type="xs:boolean" />
              <xs:element name="ErrorTimeout" msprop:Generator_UserColumnName="ErrorTimeout" msprop:Generator_ColumnVarNameInTable="columnErrorTimeout" msprop:Generator_ColumnPropNameInRow="ErrorTimeout" msprop:Generator_ColumnPropNameInTable="ErrorTimeoutColumn" type="xs:int" />
              <xs:element name="NormalTimeout" msprop:Generator_UserColumnName="NormalTimeout" msprop:Generator_ColumnVarNameInTable="columnNormalTimeout" msprop:Generator_ColumnPropNameInRow="NormalTimeout" msprop:Generator_ColumnPropNameInTable="NormalTimeoutColumn" type="xs:int" />
              <xs:element name="NodeActionRequest" msprop:Generator_UserTableName="NodeActionRequest" msprop:Generator_RowDeletedName="NodeActionRequestRowDeleted" msprop:Generator_RowChangedName="NodeActionRequestRowChanged" msprop:Generator_RowClassName="NodeActionRequestRow" msprop:Generator_RowChangingName="NodeActionRequestRowChanging" msprop:Generator_RowEvArgName="NodeActionRequestRowChangeEvent" msprop:Generator_RowEvHandlerName="NodeActionRequestRowChangeEventHandler" msprop:Generator_TableClassName="NodeActionRequestDataTable" msprop:Generator_TableVarName="tableNodeActionRequest" msprop:Generator_RowDeletingName="NodeActionRequestRowDeleting" msprop:Generator_TablePropName="NodeActionRequest" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="NodeId" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="NodeId" msprop:Generator_ColumnVarNameInTable="columnNodeId" msprop:Generator_ColumnPropNameInRow="NodeId" msprop:Generator_ColumnPropNameInTable="NodeIdColumn" type="xs:string" />
                    <xs:element name="ActionType" msprop:Generator_UserColumnName="ActionType" msprop:Generator_ColumnVarNameInTable="columnActionType" msprop:Generator_ColumnPropNameInRow="ActionType" msprop:Generator_ColumnPropNameInTable="ActionTypeColumn" type="xs:int" />
                    <xs:element name="PayloadKey" msprop:Generator_UserColumnName="PayloadKey" msprop:Generator_ColumnVarNameInTable="columnPayloadKey" msprop:Generator_ColumnPropNameInRow="PayloadKey" msprop:Generator_ColumnPropNameInTable="PayloadKeyColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="50" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="PayloadValue" msprop:Generator_UserColumnName="PayloadValue" msprop:Generator_ColumnVarNameInTable="columnPayloadValue" msprop:Generator_ColumnPropNameInRow="PayloadValue" msprop:Generator_ColumnPropNameInTable="PayloadValueColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="255" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="TimeAdded" msprop:Generator_UserColumnName="TimeAdded" msprop:Generator_ColumnVarNameInTable="columnTimeAdded" msprop:Generator_ColumnPropNameInRow="TimeAdded" msprop:Generator_ColumnPropNameInTable="TimeAddedColumn" type="xs:dateTime" />
                    <xs:element name="ActionReqId" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="ActionReqId" msprop:Generator_ColumnPropNameInRow="ActionReqId" msprop:Generator_ColumnVarNameInTable="columnActionReqId" msprop:Generator_ColumnPropNameInTable="ActionReqIdColumn" type="xs:string" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="BatchCommand_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BatchCommand" />
      <xs:field xpath="mstns:BatchComId" />
    </xs:unique>
    <xs:unique name="BatchResource_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BatchResource" />
      <xs:field xpath="mstns:BatchResId" />
    </xs:unique>
    <xs:unique name="Batch_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Batch" />
      <xs:field xpath="mstns:BatchId" />
    </xs:unique>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BatchGroup" />
      <xs:field xpath="mstns:GroupId" />
    </xs:unique>
    <xs:unique name="NodeActionRequest_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:NodeActionRequest" />
      <xs:field xpath="mstns:ActionReqId" />
    </xs:unique>
    <xs:unique name="Node_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Node" />
      <xs:field xpath="mstns:NodeId" />
    </xs:unique>
    <xs:keyref name="FK_Node_NodeActionRequest" refer="Node_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_Node_NodeActionRequest" msprop:rel_Generator_RelationVarName="relationFK_Node_NodeActionRequest" msprop:rel_Generator_UserChildTable="NodeActionRequest" msprop:rel_Generator_UserParentTable="Node" msprop:rel_Generator_ParentPropName="NodeRow" msprop:rel_Generator_ChildPropName="GetNodeActionRequestRows">
      <xs:selector xpath=".//mstns:NodeActionRequest" />
      <xs:field xpath="mstns:NodeId" />
    </xs:keyref>
    <xs:keyref name="FK_Node_Batch" refer="Node_Constraint1" msprop:rel_Generator_UserRelationName="FK_Node_Batch" msprop:rel_Generator_RelationVarName="relationFK_Node_Batch" msprop:rel_Generator_UserChildTable="Batch" msprop:rel_Generator_UserParentTable="Node" msprop:rel_Generator_ParentPropName="NodeRow" msprop:rel_Generator_ChildPropName="GetBatchRows" msdata:DeleteRule="None">
      <xs:selector xpath=".//mstns:Batch" />
      <xs:field xpath="mstns:NodeId" />
    </xs:keyref>
    <xs:keyref name="FK_BatchGroup_Batch" refer="Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_BatchGroup_Batch" msprop:rel_Generator_RelationVarName="relationFK_BatchGroup_Batch" msprop:rel_Generator_UserChildTable="Batch" msprop:rel_Generator_UserParentTable="BatchGroup" msprop:rel_Generator_ParentPropName="BatchGroupRow" msprop:rel_Generator_ChildPropName="GetBatchRows">
      <xs:selector xpath=".//mstns:Batch" />
      <xs:field xpath="mstns:BatchGroup" />
    </xs:keyref>
    <xs:keyref name="FK_Batch_BatchResource" refer="Batch_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_Batch_BatchResource" msprop:rel_Generator_RelationVarName="relationFK_Batch_BatchResource" msprop:rel_Generator_UserChildTable="BatchResource" msprop:rel_Generator_UserParentTable="Batch" msprop:rel_Generator_ParentPropName="BatchRow" msprop:rel_Generator_ChildPropName="GetBatchResourceRows">
      <xs:selector xpath=".//mstns:BatchResource" />
      <xs:field xpath="mstns:BatchId" />
    </xs:keyref>
    <xs:keyref name="FK_Batch_BatchCommand" refer="Batch_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_Batch_BatchCommand" msprop:rel_Generator_RelationVarName="relationFK_Batch_BatchCommand" msprop:rel_Generator_UserChildTable="BatchCommand" msprop:rel_Generator_UserParentTable="Batch" msprop:rel_Generator_ParentPropName="BatchRow" msprop:rel_Generator_ChildPropName="GetBatchCommandRows">
      <xs:selector xpath=".//mstns:BatchCommand" />
      <xs:field xpath="mstns:BatchId" />
    </xs:keyref>
  </xs:element>
</xs:schema>